<?php
ini_set("soap.wsdl_cache_enabled","0");

$service  = new SoapClient("http://208.74.72.210:8080/EnticeWS/services/payment?wsdl");

$key = 'pass';
$key = mkResllerKey($key);

$xml = '<?xml version="1.0" encoding="UTF-8"?>
 <EnticeRequest>
   <data>
     <row>
       <ID></ID>
       <ID_TYPE>1</ID_TYPE>
     </row>
   </data>
 </EnticeRequest>';

$data = $service->getCreditCard('12',$key, $xml);

header('Content-type: text/xml');
echo $data;

function mkResllerKey($key)
{
	$dt = gmdate("m/d/Y", time());
	$key =substr($dt,0,6).$key.substr($dt, 5);
	return md5($key);
}